import Vue from 'vue'
import App from './App.vue'
// 导入vuerouter插件库
import VueRouetr from "vue-router"
//导入路由器
import router from "./router"
//导入ui组件样式
// import { Input } from 'element-ui'
// import { From } from 'element-ui'
import ElementUI from 'element-ui'
import { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
//导入全局样式表
import './assets/css/globle.css'
import axios from 'axios'

//配置接口根目录
axios.defaults.baseURL = "http://127.0.0.1:8888/api/private/v1/"
// 使用vuerouter
Vue.use(VueRouetr)
// Vue.use(Input)
// Vue.use(From)
Vue.use(ElementUI)
Vue.prototype.$message = Message
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
